window.onload = function() {
    console.log(document.title);
    window.setWindowTitle(document.title);
}